home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / crtex / ex12.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  326 b   |  15 lines

  1. Program Example12;
  2. uses Crt;
  3.  
  4. { Program to demonstrate the TextColor function. }
  5.  
  6. begin
  7.   WriteLn('This is written in the default color');
  8.   TextColor(Red);
  9.   WriteLn('This is written in Red');
  10.   TextColor(White);
  11.   WriteLn('This is written in White');
  12.   TextColor(LightBlue);
  13.   WriteLn('This is written in Light Blue');
  14. end.
  15.